package com.mybatis.sqlsession;

import com.mybatis.entity.MappedStatement;

import java.util.List;

public interface Executor {

    <T> List<T> query(MappedStatement mappedStatement,Object... param) throws Exception;

    int doUpdate(MappedStatement mappedStatement, Object... param) throws Exception;
}
